package cn.gok.oop;

/**
 * @ClassName 类的练习
 * @Description TODO
 * @Author HP
 * @Date 9:54 2022/7/5
 * @Version 1.0
 **/
class Person{
     int age;
     String sex;
     String name;
     String school;
    public void show(){
        System.out.println(this.age+" "+this.sex+""+this.name+""+this.school);
    }
}
public class 类 {
    public static void main(String[] args) {
        Person person = new Person();
        person.age = 18;
        person.sex = "男";
        person.name = "小白";
        person.school="sadasd";
        person.show();
    }

}